home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 2 (Reseller)
/
Apple R&P Lib Reseller v2.0.iso
/
3-Demos
/
Third Party Demos
/
Information Management
/
Wingz
/
SDScript
/
Script10
(
.txt
)
< prev
next >
Wrap
Wingz Script
|
1989-06-08
|
6KB
|
203 lines
WNGZWZSC01b1F
Demo10
Putting
WRATT & PITNEY
Commercial Turbines
1988 Sales
(In millions of U.S. dollars)
Times
'88 Total
JT - 100m
JT - 200f
JT - 400b
Times
=sum(C8..F8)
My Chart
My Chart
WRATT & PITNEY
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
My Chart
Arrow
Note Box
Arrow
SDOpen
DoSound
Segwaycall sd:SDOpen("Demo10",1)
call sd:DoSound("Putting")
wait for (sd:Segway * 1.0) seconds
hide fields
Put "WRATT & PITNEY" Into D3
Put "Commercial Turbines" Into D4
Put "1988 Sales" Into D5
Put " (In millions of U.S. dollars)" Into D6
select range D3..D6
Align Center
text font "Times"
select range D3
text size 14
text style "B"
text style "I"
select range D6
text size 9
text size 10
text style "I"
Put "Q1" Into C7
Put "Q2" Into D7
Put "Q3" Into E7
Put "Q4" Into F7
Put " '88 Total" Into G7
Put "JT - 100m" Into B8
Put "JT - 200f" Into B9
Put "JT - 400b" Into B10
Put 177 Into C8
Put 395 Into C9
Put 55 Into C10
Put 151 Into D8
Put 401 Into D9
Put 112 Into D10
Put 139 Into E8
Put 435 Into E9
Put 119 Into E10
Put 101 Into F8
Put 456 Into F9
Put 137 Into F10
select range c8..f10
precision 0
select range C7..G7
Align Center
select range B7..G10
text font "Times"
Put "=sum(C8..F8)" Into G8
select range G8..G10
Copy Down
precision 0
use commas
column width range C1..G50 to 1020
column width range B1 to 1260
row height range B3 to 340
select range D3
text color Red()
select range B7..B10
select more range C7..G7
text style "B"
Unselect Add Chart Range frac(A11..H24,106,159,170,186) Using B7..F10
object name "My Chart"
repaint off
select range D3..D4
select more object "My Chart"
Title Range
select range D3
Put "WRATT & PITNEY " Into D3
select object "My Chart"
Object Size frac(A2..I24,128,159,170,114)
square corners
no drop shadow
no line border
shadow fg 0
shadow bg 16777215
shadow pattern 1
border x offset 1 points
border y offset 1 points
shadow strength 255
select chart "My Chart" plot
square corners
no drop shadow
no line border
shadow fg 0
shadow bg 16777215
shadow pattern 1
border x offset 1 points
border y offset 1 points
shadow strength 255
select object "My Chart"
square corners
2d drop shadow
double line border
shadow fg 0
shadow bg 16777215
shadow pattern 1
border x offset 6 points
border y offset 6 points
shadow strength 255
select chart "My Chart" all series
line fg 0
line bg 16777215
line pattern 1
line width 40
select chart "My Chart" series 1
line fg 255
line pattern 2
line width 60
symbol color 255
symbol width 40
symbol type 1
symbol size 12 points
select chart "My Chart" series 2
line fg 16711680
line pattern 5
line width 60
symbol color 16711680
symbol width 40
symbol type 3
symbol size 12 points
select chart "My Chart" series 3
line fg rgb(50,150,50)
line pattern 6
line width 60
symbol color rgb(50,150,50)
symbol width 40
symbol type 6
symbol size 12 points
select chart "My Chart" axis 1
show axis line
show axis
axis major grid fg 16711680
axis major grid bg 16777215
axis major grid pattern 0
axis major grid width 5
select range D3..D6
select more object "My Chart"
Title Range
select chart "My Chart" title
no line border
fill pattern 0
select chart "My Chart" plot
no line border
fill pattern 0
select object "My Chart"
fill bg rgb(250,250,200)
Unselect Add Polyline frac(H8,1,145,1,145),
frac(H11,234,59,234,59),
frac(F12,191,130,191,130),
frac(F15,213,105,213,105),
frac(G17,106,45,106,45)
object name "Arrow"
polyline
poly smoothing on
line fg rgb(50,150,50)
line bg 16777215
line pattern 1
line width 60
single arrow
arrow length 13 points
select object "Note Box"
bring to front
select object "Arrow"
bring to front
show notes
unselect
repaint on
repaint window
wait for (sd:Segway * 2.0) seconds
close now